
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <link rel="canonical" href="https://blog.csdn.net/lmseo5hy/article/details/85699164"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="report" content='{"pid": "blog", "spm":"1001.2101"}'>
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
    <meta name="applicable-device" content="pc">
    <link  href="https://g.csdnimg.cn/static/logo/favicon32.ico"  rel="shortcut icon" type="image/x-icon" />
    <title>Python注释方式有哪些_lmseo5hy的博客-CSDN博客_python的注释方式有几种</title>
    <script>
      (function(){ 
        var el = document.createElement("script"); 
        el.src = "https://s3a.pstatp.com/toutiao/push.js?1abfa13dfe74d72d41d83c86d240de427e7cac50c51ead53b2e79d40c7952a23ed7716d05b4a0f683a653eab3e214672511de2457e74e99286eb2c33f4428830"; 
        el.id = "ttzz"; 
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(el, s);
      })(window)
    </script>
        <meta name="keywords" content="python的注释方式有几种">
        <meta name="csdn-baidu-search"  content='{"autorun":true,"install":true,"keyword":"python的注释方式有几种"}'>
    <meta name="description" content="注释是对一段代码的解释和说明，可提高程序代码的可读性，让人们能够更加轻松地了解代码，尤其在大型项目开发和团队项目中，注释是必不可少的！任何编程语言都少不了注释，Python也不例外，以下是Python注释的具体用法：1. 单行注释Python编程语言的单行注释常以#开头，单行注释可以作为单独的一行放在被注释代码行之上，也可以放在语句或者表达式之后。实例：# -*- coding...">
    <script src='//g.csdnimg.cn/tingyun/1.8.3/blog.js' type='text/javascript'></script>
        <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/release/blogv2/dist/pc/css/detail_enter-abc53f1aad.min.css">
    <script type="application/ld+json">{"@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld","@id":"https://blog.csdn.net/lmseo5hy/article/details/85699164","appid":"1638831770136827","pubDate":"2019-01-03T15:36:08","title":"Python注释方式有哪些_lmseo5hy的博客-CSDN博客_python的注释方式有几种","upDate":"2019-01-03T15:36:08"}</script>
        <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/release/blogv2/dist/pc/themesSkin/skin-shark/skin-shark-39d3df9199.min.css">
    <script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        var isCorporate = false;//注释删除enterprise
        var username =  "lmseo5hy";
        var skinImg = "white";
        var blog_address = "https://blog.csdn.net/lmseo5hy";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/lmseo5hy/article/details/85699164";
        var blogUrl = "https://blog.csdn.net/";
        var avatar = "https://profile.csdnimg.cn/4/2/D/3_lmseo5hy";
        var articleTitle = "Python注释方式有哪些";
        var articleDesc = "注释是对一段代码的解释和说明，可提高程序代码的可读性，让人们能够更加轻松地了解代码，尤其在大型项目开发和团队项目中，注释是必不可少的！任何编程语言都少不了注释，Python也不例外，以下是Python注释的具体用法：1. 单行注释Python编程语言的单行注释常以#开头，单行注释可以作为单独的一行放在被注释代码行之上，也可以放在语句或者表达式之后。实例：# -*- coding...";
        var articleTitles = "Python注释方式有哪些_lmseo5hy的博客-CSDN博客_python的注释方式有几种";
        var nickName = "lmseo5hy";
        var articleDetailUrl = "https://blog.csdn.net/lmseo5hy/article/details/85699164";
        if(window.location.host.split('.').length == 3) {
            blog_address = blogUrl + username;
        }
        var skinStatus = "White";
        var blogStaticHost = "https://csdnimg.cn/release/blogv2/"
    </script>
    <script src="https://g.csdnimg.cn/??fixed-sidebar/1.1.6/fixed-sidebar.js" type="text/javascript"></script>
    <script src='//g.csdnimg.cn/common/csdn-report/report.js' type='text/javascript'></script>
    <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
    <script src="https://dup.baidustatic.com/js/ds.js"></script>
</head>
<body class="nodata " style="">
        <script>
            var toolbarSearchExt = {"landingWord":["python的注释方式有几种"],"queryWord":"python","tag":["python注释"],"title":"Python注释方式有哪些"};
        </script>
    <script src="https://g.csdnimg.cn/common/csdn-toolbar/csdn-toolbar.js" type="text/javascript"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/pc/css/blog_code-01256533b5.min.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/chart-3456820cac.css" />
<div class="main_father clearfix d-flex justify-content-center" style="height:100%;"> 
    <div class="container clearfix" id="mainBox">
        <main>
<script type="text/javascript">
    var blogSensitiveWords = "";
    function getQueryString(name) {   
      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象  
      var r = window.location.search.substr(1).match(reg);  //匹配目标参数
      if( r != null ) return decodeURIComponent( r[2] ); return '';   
    }
    function stripscript(s){ 
      var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~！@#￥……&*（）——|{}【】‘；：”“'。，、？%]") 
      var rs = ""; 
      for (var i = 0; i < s.length; i++) { 
        rs = rs+s.substr(i, 1).replace(pattern, ''); 
      } 
      return rs; 
    }
    var blogHotWords = stripscript(getQueryString('utm_term')).length > 1 ? stripscript(getQueryString('utm_term')) : ''
</script>
<div class="blog-content-box">
    <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article" id="articleContentId">Python注释方式有哪些</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <img class="article-type-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/original.png" alt="">
                    <div class="bar-content">
                    <a class="follow-nickName " href="https://blog.csdn.net/lmseo5hy" target="_blank" rel="noopener">lmseo5hy</a>
                    <span class="time">2019-01-03 15:36:08</span>
                    <img class="article-read-img article-heard-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/articleReadEyes.png" alt="">
                    <span class="read-count">37962</span>
                    <a id="blog_detail_zk_collection" class="un-collection" data-report-click='{"mod":"popu_823","spm":"1001.2101.3001.4232","ab":"new"}'>
                        <img class="article-collect-img article-heard-img un-collect-status isdefault" style="display:inline-block" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollect.png" alt="">
                        <img class="article-collect-img article-heard-img collect-status isactive" style="display:none" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                        <span class="name">收藏</span>
                        <span class="get-collection">
                            11
                        </span>
                    </a>
                    </div>
                </div>
                <div class="blog-tags-box">
                    <div class="tags-box artic-tag-box">
                            <span class="label">分类专栏：</span>
                                <a class="tag-link" href="https://blog.csdn.net/lmseo5hy/category_7340901.html" target="_blank" rel="noopener">python培训</a>
                            <span class="label">文章标签：</span>
                                <a data-report-click='{"mod":"popu_626","spm":"1001.2101.3001.4223","strategy":"python注释","ab":"new"}' class="tag-link" href="https://www.csdn.net/tags/MtjakgxsNzI0NS1ibG9n.html" target="_blank" rel="noopener">python注释</a>
                    </div>
                </div>
                <div class="slide-content-box">
                    <div class="article-copyright">
                        <div class="creativecommons">
                            版权声明：本文为博主原创文章，遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议，转载请附上原文出处链接和本声明。
                        </div>
                        <div class="article-source-link">
                            本文链接：<a href="https://blog.csdn.net/lmseo5hy/article/details/85699164" target="_blank">https://blog.csdn.net/lmseo5hy/article/details/85699164</a>
                        </div>
                    </div>
                </div>
                <div class="operating">
                    <a class="href-article-edit slide-toggle">版权</a>
                </div>
            </div>
        </div>
    </div>
        <div id="blogColumnPayAdvert">
            <div class="column-advert-box">
                <a style="display:contents;" href="https://blog.csdn.net/lmseo5hy/category_7340901.html" target="_blank" data-report-view='{"mod":"popu_849","spm":"1001.2101.3001.4235","dest":"","strategy":"","extend1":"{\"user_type\":\"\"}"}' data-report-click='{"mod":"popu_849","spm":"1001.2101.3001.4235","dest":"","strategy":"","extend1":"{\"user_type\":\"\"}"}' data-report-query="utm_source=&spm=1001.2101.3001.4235">
                <div class="left-advert-box"><img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'"></div>
                <div class="middle-advert-box">
                    <div class="title">python培训</div>
                    <div class="introduce" title="主要作为老男孩教育python内容分析栏目">主要作为老男孩教育python内容分析栏目</div>
                        <div class="information"><img src="https://profile.csdnimg.cn/4/2/D/3_lmseo5hy" alt=""><span>lmseo5hy</span></div>    
                </div>
                </a>
                <div class="right-advert-box">
                    <div class="count-advert-box"><span class="advert-money">¥19.90</span><span class="advert-count-people"></span></div>
                    <div class="bt-advert-box">
                            <button class="bt-click" id="bt-click" data-id="7340901" data-report-view='{"spm":"3001.4402"}' data-report-click='{"spm":"3001.4402"}'>订阅博主</button>
                    </div>
                </div>
            </div>
        </div>
    <article class="baidu_pl">
        <div id="article_content" class="article_content clearfix">
        <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-b5506197d8.css">
                <div id="content_views" class="htmledit_views">
                    <p style="text-align:center;"><img alt="" src="https://img-blog.csdnimg.cn/20201225144201692.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2xtc2VvNWh5,size_16,color_FFFFFF,t_70"></p> 
<p style="margin-left:0cm;">注释是对一段代码的解释和说明，可提高程序代码的可读性，让人们能够更加轻松地了解代码，尤其在大型项目开发和团队项目中，注释是必不可少的！</p> 
<p style="margin-left:0cm;">任何编程语言都少不了注释，Python也不例外，以下是Python注释的具体用法：</p> 
<p style="margin-left:0cm;">1. 单行注释</p> 
<p style="margin-left:0cm;">Python编程语言的单行注释常以#开头，单行注释可以作为单独的一行放在被注释代码行之上，也可以放在语句或者表达式之后。</p> 
<p style="margin-left:0cm;">实例：</p> 
<p style="margin-left:0cm;"># -*- coding: UTF-8 -*-</p> 
<p style="margin-left:0cm;">print ("hello world!");&nbsp;&nbsp;&nbsp;&nbsp; #您好，世界</p> 
<p style="margin-left:0cm;">2. 多行注释</p> 
<p style="margin-left:0cm;">Python中多行注释使用三个单引号（’’’）或者三个双引号（”””）来标记，而实际上这是多行字符串的书写方式，并不是Python本身提倡的多行注释方法。</p>
                </div>
        </div>
    </article>
</div>
<script>
    // 敏感词替换
    // replaceArticleContentWords(blogSensitiveWords,'sensitiveWords')
    // 高亮词
    // replaceArticleContentWords(blogHotWords,'hotWords')
    // 公共方法
    function replaceArticleContentWords(words,type){
      if(words){   
        var getContentViews = document.getElementById("content_views");
        var getContentTitle = document.getElementById("articleContentId");
        var contentViewsInnerHTML = getContentViews.innerHTML;
        var contentTitleInnerHTML = getContentTitle.innerHTML;
        var keyWordsJsonArr = [];
        var keyWordsArr = words.split(',');
        function repeatTimes(str, num){
            return num > 1 ? str += repeatTimes(str, --num): str;
        }
        for(var i = 0; i < keyWordsArr.length; i++){
            var keyWordsJson = {} ;
            keyWordsJson.key = keyWordsArr[i];
            if(type == 'hotWords'){
              keyWordsJson.value = '<span class="hot-words-highlight">'+keyWordsArr[i]+'</span>'
            }else if(type == 'sensitiveWords'){
              keyWordsJson.value = repeatTimes("*",keyWordsArr[i].length);
            }else {
              keyWordsJson.value = keyWordsArr[i]
            }
            keyWordsJsonArr.push(keyWordsJson);
        }
        var reg;
        for(var i = 0; i < keyWordsJsonArr.length; i++){
            var item = keyWordsJsonArr[i]; 
            if(type == 'hotWords'){
              reg = new RegExp(item.key,"ig");
            }
            if(type == 'sensitiveWords'){
              reg = new RegExp(item.key+"(?!([^<]*>)|([^<]*<\/a>))","ig");  
            }
            contentViewsInnerHTML = contentViewsInnerHTML.replace(reg,item.value);
            contentTitleInnerHTML = contentTitleInnerHTML.replace(reg,item.value);
        }
        getContentViews.innerHTML=contentViewsInnerHTML;
        getContentTitle.innerHTML=contentTitleInnerHTML;
      }
    }
</script>
        <div class="hide-article-box hide-article-pos text-center">
            <!--####付费专栏id开始-->
            <div class="column-mask">
                <a class="bt-subscribe-article lock-icon" data-id="7340901" data-report-click='{"mod":"popu_837","spm":"1001.2101.3001.4224","strategy":"pc详情购买按钮","ab":"new"}'>
                 <!--####付费专栏id结束-->
                 <img class="lock-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/lock.png" alt="">
                </a>
                <a class="about-more" href="https://blog.csdn.net/lmseo5hy/category_7340901.html" target="_blank" data-report-query="utm_source=BWXQ_bottombtn&spm=1001.2101.3001.4225"  data-report-view='{"mod":"popu_838","spm":"1001.2101.3001.4225","dest":"","strategy":"pc付费专栏文章详情页跳转","ab":"new"}' data-report-click='{"mod":"popu_838","spm":"1001.2101.3001.4225","dest":"","strategy":"pc付费专栏文章详情页跳转","ab":"new"}'>了解本专栏</a>
                <a class="bt-subscribe-article lock-text" data-id="7340901" data-report-click='{"mod":"popu_837","spm":"1001.2101.3001.4224","strategy":"pc详情购买按钮","ab":"new"}' data-report-view='{"mod":"popu_837","spm":"1001.2101.3001.4224","strategy":"pc详情购买按钮","ab":"new"}'>订阅博主 解锁全文</a> 
            </div>
        </div>
<div class="more-toolbox" id="toolBarBox">
    <span id="fixedBar"></span>
    <div class="left-toolbox">
        <ul class="toolbox-list">
                <li class="tool-item item-subscribe"></li>
            <li class="tool-item tool-item-size tool-active is-like" id="is-like"><a>
            <img style="display:none;" id="is-like-imgactive-animation-like" class="animation-dom active-animation" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUpactive.png" alt="">
            <img class="isactive" style="display:none" id="is-like-imgactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUpactive.png" alt="">
            <img class="isdefault" style="display:block" id="is-like-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUp.png" alt="">   
            <span class="name" id="is-like-span">点赞</span>
            <span id="spanCount" class="count">
                    3
            </span>
            </a></li>
            <li class="tool-item tool-item-size tool-active tool-item-comment">
                <a href="#commentBox">
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarComment.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCommentactive.png" style="display:none;" alt="">
                    <span class="name">评论</span>
                    <span class="count">
                    </span>
                </a>
            </li>
            <li class="tool-item tool-item-size tool-active tool-QRcode" id="tool-share">
                <a href="javascript:;" data-report-click='{"mod":"1582594662_002","spm":"1001.2101.3001.4129","ab":"new"}'>
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarShare.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarShareactive.png" style="display:none;" alt="">
                    <span class="name">分享</span>
                </a>
                <div class="QRcode" id="tool-QRcode" style="left:-92%;">
                    <span id="QRcode-close">x</span>
                    <p class="title">
                    海报分享
                    </p>
                    <div id='shareCode'></div>
                    <p>
                    扫一扫，分享海报
                    </p>
                </div>
            </li>
            <li class="tool-item tool-item-size tool-active is-collection ">
                <a href="javascript:;" data-report-click='{"mod":"popu_824","spm":"1001.2101.3001.4130","ab":"new"}'>
                    <img style="display:none" id="is-collection-img-collection" class="animation-dom active-animation" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                    <img class="isdefault" id="is-collection-img" style="display:block" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollect.png" alt="">
                    <img class="isactive" id="is-collection-imgactive" style="display:none" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                    <span class="name" id="is-collection">收藏</span>
                    <span class="count get-collection" id="get-collection">
                        11
                    </span>
                </a>
            </li>
            <li class="tool-item tool-item-size tool-active tool-reward">
                <a  id="toolreward" data-report-click='{"mod":"popu_830","spm":"1001.2101.3001.4237","dest":"","ab":"new"}'>
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReward.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarRewardactive.png" style="display:none;" alt="">
                    <span class="name">打赏</span>
                </a>
<div id="reward" class="reward-box">
	<p class="rewad-title">打赏<span class="reward-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></span></p>
	<dl>
		<dd>
		<a href="https://blog.csdn.net/lmseo5hy" data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/lmseo5hy","ab":"new"}'>
			<img src="https://profile.csdnimg.cn/4/2/D/3_lmseo5hy" class="avatar_pic">
		</a>
		</dd>
		<dt>
			<p class="blog-name">lmseo5hy</p>
			<p class="blog-discript">你的鼓励就是我创作的最大动力</p>
		</dt>
	</dl>
	<div class="change-bt-box">
		<span class="reward-bt reward-bt-coin">C币</span>
		<span class="reward-bt-space"></span>
		<span class="reward-bt reward-bt-money reward-bt-active">余额</span>
	</div>
	<div class="money-box">
			<span class="choose_money choosed" data-id="2">2C币</span>
			<span class="choose_money " data-id="4">4C币</span>
			<span class="choose_money " data-id="6">6C币</span>
			<span class="choose_money " data-id="10">10C币</span>
			<span class="choose_money " data-id="20">20C币</span>
			<span class="choose_money " data-id="50">50C币</span>
	</div>
	<div class="sure-box">
		<p class="is-have-money"><a class="reward-sure">确定</a></p>
	</div>
</div>
            </li>
            <li class="tool-item tool-item-size tool-active tool-more">
              <a class="article-report">
                <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReport.png" alt="">
                <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReportactive.png" style="display:none;" alt="">
                <span class="name">举报</span>
              </a>
            </li>
                <li class="tool-item">
                            <a class="tool-subscribe tool-bt-button tool-bt-subscribe" href="javascript:;" data-report-view='{"mod":"1592215036_001","spm":"1001.2101.3001.4226","extend1":"订阅"}' data-report-click='{"mod":"1592215036_001","spm":"1001.2101.3001.4226","extend1":"订阅"}'>订阅博主</a>
                </li>
            <li class="tool-item">
                    <a class="tool-attend tool-bt-button tool-bt-attend" href="javascript:;" data-report-view='{"mod":"1592215036_002","spm":"1001.2101.3001.4232","extend1":"关注"}'>关注</a>
                <a class="tool-item-follow active-animation" style="display:none;">关注</a>
            </li>
            <li class="tool-item">
                    <p class="company active" id="health-companies" href="javascript:;" >一键三连</p>
                <span class="triplet-prompt">点赞Mark关注该博主, 随时了解TA的最新博文<img class="close-prompt" src="https://csdnimg.cn/release/blogv2/dist/pc/img/closePrompt.png"></span>
            </li>
        </ul>
        <div style="display:flex">
         </div>
         <div class="hot-word-tip-box">
          <span class="hot-word-text">已标记关键词</span>
          <span class="hot-word-count"></span> 
          <span class="hot-word-bar"></span>
          <span class="hot-word-clear">清除标记</span>
        </div>
    </div>  
</div>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/qrcode-7c90a92189.min.js"></script>
<script src="//g.csdnimg.cn/??sharewx/1.2.1/sharewx.js" type="text/javascript"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/collection-box/2.0.3/collection-box.js"></script>
            <div class="second-recommend-box recommend-box">
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/jingbo18/article/details/78858072"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/jingbo18/article/details/78858072"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/jingbo18/article/details/78858072" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/jingbo18/article/details/78858072"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
					<em>python</em><em>注释</em>文档
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/jingbo18" target="_blank"><span class="blog-title">jingbo18的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-20</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					8765
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/jingbo18/article/details/78858072" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/jingbo18/article/details/78858072"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>有一种独一无二的的<em>注释</em><em>方式</em>：使用文档字符串，文档字符串是包、模块、类或函数里的第一个语句，这些字符串可以通过对象的__doc__成员被自动提取，并且被pydoc所用。


1、<em>注释</em>文档

2、查看<em>python</em>的模块和函数帮助文档方法


1、<em>注释</em>文档

一个文档字符串应该这样组织：首先是一行以句号，问号或惊叹号结尾的概述(或者该文档字符串单纯只有一行)。接着是一个空</div>
			</a>
		</div>
	</div>
</div>
            </div>
<a id="commentBox" name="commentBox"></a>
<div class="comment-box">
	<div class="comment-edit-box d-flex">
		<a id="commentsedit"></a>
		<div class="user-img">
			<a href="javascript:void(0);" >
				<img class="show_loginbox" src="https://g.csdnimg.cn/static/user-img/anonymous-User-img.png">
			</a>
		</div>
		<form id="commentform">
			<img class="comment-sofa-flag" src="https://csdnimg.cn/release/blogv2/dist/pc/img/commentFlag@2x.png">
      <textarea class="comment-content" name="comment_content" id="comment_content" placeholder="优质评论可以帮助作者获得更高权重" maxlength="1000"></textarea>
			<div class="comment-emoticon"><img class="comment-emoticon-img" data-url="https://csdnimg.cn/release/blogv2/dist/pc/img/" src="https://csdnimg.cn/release/blogv2/dist/pc/img/emoticon.png" alt="表情包"></div> 
      <span class="comment-emoticon-tip">插入表情</span>
      <div class="comment-emoticon-box">
        <div class="comment-emoticon-img-box">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:001.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/001.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:002.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/002.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:003.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/003.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:004.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/004.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:005.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/005.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:006.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/006.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:007.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/007.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:008.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/008.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:009.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/009.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:010.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/010.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:011.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/011.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:012.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/012.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:013.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/013.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:014.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/014.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:015.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/015.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:016.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/016.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:017.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/017.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:018.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/018.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:019.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/019.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:020.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/020.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:021.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/021.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:022.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/022.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:023.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/023.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:024.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/024.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:025.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/025.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:026.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/026.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:027.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/027.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:028.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/028.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:029.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/029.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:030.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/030.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:031.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/031.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:032.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/032.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:033.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/033.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:034.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/034.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:035.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/035.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:036.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/036.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:037.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/037.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:038.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/038.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:039.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/039.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:040.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/040.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:041.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/041.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:042.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/042.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:043.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/043.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:044.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/044.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:045.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/045.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:046.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/046.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:047.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/047.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:048.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/048.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:049.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/049.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:050.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/050.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:051.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/051.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:052.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/052.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:053.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/053.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:054.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/054.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:055.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/055.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:056.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/056.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:057.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/057.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:058.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/058.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:059.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/059.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:060.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/060.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:061.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/061.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:062.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/062.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:063.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/063.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:064.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/064.png">
        </div>
      </div>
      <div class="opt-box">
				<div id="ubbtools" class="add_code">
					<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
				</div>
				<input type="hidden" id="comment_replyId" name="comment_replyId">
				<input type="hidden" id="article_id" name="article_id" value="85699164">
				<input type="hidden" id="comment_userId" name="comment_userId" value="">
				<input type="hidden" id="commentId" name="commentId" value="">
				<div class="dropdown" id="myDrap">
					<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button"
						aria-haspopup="true" aria-expanded="false">
						<div class="txt-selected text-truncate">添加代码片</div>
						<svg class="icon d-block" width="200px" height="100.00px" viewBox="0 0 2048 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path  d="M597.33333292 298.666667h853.333334L1023.99999992 725.333333 597.33333292 298.666667z"  /></svg>
					</a>
					<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
						<li><a data-code="html">HTML/XML</a></li>
						<li><a data-code="objc">objective-c</a></li>
						<li><a data-code="ruby">Ruby</a></li>
						<li><a data-code="php">PHP</a></li>
						<li><a data-code="csharp">C</a></li>
						<li><a data-code="cpp">C++</a></li>
						<li><a data-code="javascript">JavaScript</a></li>
						<li><a data-code="python">Python</a></li>
						<li><a data-code="java">Java</a></li>
						<li><a data-code="css">CSS</a></li>
						<li><a data-code="sql">SQL</a></li>
						<li><a data-code="plain">其它</a></li>
					</ul>
				</div>
				<div class="right-box" id="rightBox" data-type="2">
							<span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
							<a data-report-click='{"mod":"1582594662_003","spm":"1001.2101.3001.4227","ab":"new"}'><input type="submit"
									class="btn btn-sm btn-comment" value="发表评论"></a>
				</div>
			</div>
		</form>
		<input type="button" class="bt-comment-show" value="评论">
	</div>
	<div class="comment-list-container">
		<a id="comments"></a>
		<div class="comment-list-box">
		</div>
		<div id="commentPage" class="pagination-box d-none"></div>
		<div class="opt-box text-center">
			<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
		</div>
	</div>
</div>            <div class="recommend-box insert-baidu-box">
                <div class="recommend-item-box clearfix" style="display:none"></div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_34268310/article/details/93548716"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_34268310/article/details/93548716"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_34268310/article/details/93548716" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_34268310/article/details/93548716"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control'>
					<em>python</em>开头<em>注释</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_34268310" target="_blank"><span class="blog-title">weixin_34268310的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-21</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					530
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_34268310/article/details/93548716" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_34268310/article/details/93548716"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control'>
				<div class="desc ellipsis-online ellipsis-online-1">#!/usr/bin/env <em>python</em>
# -*- coding:utf-8 -*-
# Author:XXX


1.#!/usr/bin/env <em>python</em> 与#!/usr/bin/<em>python</em> 的区别
这些<em>注释</em>并不仅仅是写给读者看的<em>注释</em>，它也写给操作系统看的，这些<em>注释</em>决定了系统将如何运行这些文件。
linux自带<em>python</em>解释器。在编写.py文件时，只要写上了...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://dream.blog.csdn.net/article/details/86106916"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"3","strategy":"OPENSEARCH","dest":"https://dream.blog.csdn.net/article/details/86106916"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://dream.blog.csdn.net/article/details/86106916" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"3","strategy":"OPENSEARCH","dest":"https://dream.blog.csdn.net/article/details/86106916"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control'>
					<em>Python</em>爬虫100例教程导航帖（已完结）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/hihell" target="_blank"><span class="blog-title">橡皮擦，一个逗趣的互联网高级网虫</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-14</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					5万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://dream.blog.csdn.net/article/details/86106916" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"3","strategy":"OPENSEARCH","dest":"https://dream.blog.csdn.net/article/details/86106916"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>爬虫入门教程导航，目标100篇。

本系列博客争取把爬虫入门阶段的所有内容都包含住，需要你有较好的<em>Python</em>基础知识，当然你完全零基础也可以观看本系列博客。

<em>Python</em>爬虫入门教程，加油！

</div>
			</a>
		</div>
	</div>
</div>
		<dl id="recommend-item-box-tow" class="recommend-item-box type_blog clearfix">
			
		</dl>
<div class="recommend-item-box type_blog clearfix" data-url="https://pig66.blog.csdn.net/article/details/88079011"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"4","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://pig66.blog.csdn.net/article/details/88079011" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"4","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control'>
					<em>Python</em>学习路线（2021修正版）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/u014044812" target="_blank"><span class="blog-title">猪哥</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">03-02</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					10万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://pig66.blog.csdn.net/article/details/88079011" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"4","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control'>
				<div class="desc ellipsis-online ellipsis-online-1">经历长达近一个月的资源筛选过程终于结束，总共1.5T的资源经过：去重、筛选、整理、归档之后一份粗略的<em>Python</em>学习曲线资源已经成型，虽然中间经历了很多坎坷，不过最终还是完成，猪哥也是第一时间与大家分享出来。
资料主要分为两部分：一、各个学习网站论坛等，二、百度云资料。网站论坛资源更新快，可以与大家互动；而百度云资源主要为视频，方便大家下载和在线观看，两种资源结合使用，学习和查找知识更方便！
一、...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/puqian13/article/details/82689513"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/puqian13/article/details/82689513"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/puqian13/article/details/82689513" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/puqian13/article/details/82689513"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control'>
					<em>python</em>-<em>注释</em>和取消<em>注释</em>多行程序
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/puqian13" target="_blank"><span class="blog-title">puqian13的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">09-13</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					4万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/puqian13/article/details/82689513" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/puqian13/article/details/82689513"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control'>
				<div class="desc ellipsis-online ellipsis-online-1">在程序中，有时候想把多行程序<em>注释</em>掉，一行一行的<em>注释</em>比较麻烦，那么可以多行<em>注释</em>吗，可以，有如下几种方法: 
1.选中要<em>注释</em>的段落，按下ctrl+/，效果如下： 
 
再按一下ctrl+/，取消<em>注释</em>

2.将一整段用三个双引号或者三个多引号括起来，如图：...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_43318626/article/details/96837053"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"6","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_43318626/article/details/96837053"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_43318626/article/details/96837053" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"6","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_43318626/article/details/96837053"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control'>
					<em>Python</em>多行<em>注释</em>/取消<em>注释</em>快捷键
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_43318626" target="_blank"><span class="blog-title">Loy Fan</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-22</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					2万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_43318626/article/details/96837053" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"6","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_43318626/article/details/96837053"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-6.control'>
				<div class="desc ellipsis-online ellipsis-online-1">step1:选中需要<em>注释</em>/取消<em>注释</em>的所有代码
step2:按快捷键





系统
快捷键




Mac
command + /


Windows
Ctrl + /



</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq_43287266/article/details/86521040"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"7","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_43287266/article/details/86521040"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq_43287266/article/details/86521040" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"7","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_43287266/article/details/86521040"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control'>
					<em>python</em>中添加<em>注释</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_43287266" target="_blank"><span class="blog-title">what的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-17</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					2830
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq_43287266/article/details/86521040" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"7","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_43287266/article/details/86521040"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-7.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>注释</em>的作用是帮助理解程序的有效的手段之一，在学习<em>python</em>的过程中，我们应正确规范的书写<em>注释</em>，帮助自己和他人理解程序
<em>python</em>的<em>注释</em>分为单行<em>注释</em>和多行<em>注释</em>
1.单行<em>注释</em>
#这是一个单行<em>注释</em>
print(&#39;hello world&#39;)	#<em>注释</em>2

在#号后面的就是<em>注释</em>，文件运行是不读取这些内容
2.多行<em>注释</em>
&quot;&quot;&quot;
这是一个
多行<em>注释</em>
&quot;&quot;&quot;
print(&#39;hello westos&#39;)

3.快...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://y1ran.blog.csdn.net/article/details/80855086"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"8","strategy":"OPENSEARCH","dest":"https://y1ran.blog.csdn.net/article/details/80855086"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://y1ran.blog.csdn.net/article/details/80855086" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"8","strategy":"OPENSEARCH","dest":"https://y1ran.blog.csdn.net/article/details/80855086"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control'>
					<em>Python</em>2和<em>Python</em>3的区别，以及为什么选<em>Python</em>3的原因
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_39521554" target="_blank"><span class="blog-title">Machine Learning with Turing&#39;s Cat</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-29</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					14万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://y1ran.blog.csdn.net/article/details/80855086" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"8","strategy":"OPENSEARCH","dest":"https://y1ran.blog.csdn.net/article/details/80855086"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-8.control'>
				<div class="desc ellipsis-online ellipsis-online-1">我的机器学习教程「美团」算法工程师带你入门机器学习 已经开始更新了，欢迎大家订阅~

任何关于算法、编程、AI行业知识或博客内容的问题，可以随时扫码关注公众号「图灵的猫」，加入&rdquo;学习小组&ldquo;，沙雕博主在线答疑~此外，公众号内还有更多AI、算法、编程和大数据知识分享，以及免费的SSR节点和学习资料。其他平台（知乎/B站）也是同名「图灵的猫」，不要迷路哦~















学...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/lmseo5hy/article/details/81704426"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/lmseo5hy/article/details/81704426" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control'>
					<em>Python</em>定义全局变量的用法
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/lmseo5hy" target="_blank"><span class="blog-title">lmseo5hy的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-15</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					17万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/lmseo5hy/article/details/81704426" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control'>
				<div class="desc ellipsis-online ellipsis-online-1">全局变量是编程语言中常见的一种变量，通过全局定义，可以是某对象函数创建，也可以是本程序任何位置创建，能够被本程序中的所有对象或函数进行引用，全局变量的定义有利于程序的变量共享，简化了添加和修改的程序。

和C语言一样，<em>Python</em>也具有全局变量，其定义全局变量的用法有两种：

1. 声明法

该方法是直接在当前模块中进行全局变量定义声明，使用global的声明<em>方式</em>，再进行引用！


OLD_URL...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq_25814003/article/details/80609729"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"10","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/qq_25814003/article/details/80609729"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq_25814003/article/details/80609729" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"10","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/qq_25814003/article/details/80609729"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control'>
					<em>python</em>安装教程
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_25814003" target="_blank"><span class="blog-title">愤怒的懒洋洋的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-07</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					24万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq_25814003/article/details/80609729" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"10","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/qq_25814003/article/details/80609729"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-10.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>安装教程一、博主自言随着人工智能的快速发展，<em>python</em>语言越来越受大家的欢迎，博主前段时间先自学了一次，这次再次巩固，顺便分享给大家我遇到的坑。帮助大家学习的时候少走弯路。希望会对大家有所帮助，欢迎留言提问。PS文章底部是我的<em>python</em>3.7包下载链接，大家可以自行下载。&nbsp;二、安装环境&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 本套教程的安装环境是：win7 或者win10系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>Python</em>版本：p...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://shazhenyu.blog.csdn.net/article/details/88681429"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"11","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://shazhenyu.blog.csdn.net/article/details/88681429" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"11","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control'>
					<em>python</em>开发大全、系列文章、精品教程（转）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/u014597198" target="_blank"><span class="blog-title">沙师弟专栏</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">03-20</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					6239
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://shazhenyu.blog.csdn.net/article/details/88681429" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"11","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-11.control'>
				<div class="desc ellipsis-online ellipsis-online-1">文章目录1、简介2、分享3、<em>python</em>基础教程4、<em>python</em>应用教程5、<em>python</em>后台架构Django教程6、<em>python</em>自动化测试教程7、<em>python</em>网络爬虫教程8、<em>python</em>数据分析存储教程9、<em>python</em>可视化教程10、<em>python</em>爬虫助手11、<em>python</em>爬虫案例12、<em>python</em>机器学习算法案例13、机器学习总结14、<em>python</em>机器学习库教程15、<em>python</em>自然语言处理库教程...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/zhaomengszu/article/details/79401043"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"12","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/zhaomengszu/article/details/79401043"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/zhaomengszu/article/details/79401043" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"12","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/zhaomengszu/article/details/79401043"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control'>
					快速查找<em>Python</em>安装路径方法
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/zhaomengszu" target="_blank"><span class="blog-title">Miracle.Zhao的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-28</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					14万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/zhaomengszu/article/details/79401043" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"12","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/zhaomengszu/article/details/79401043"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-12.control'>
				<div class="desc ellipsis-online ellipsis-online-1">我相信一定有很多的人跟我一样，经常忘记<em>Python</em>安装的路径，每当用到的时候，最笨的办法就是在全局电脑里，直接查找<em>Python</em>，这样是肯定能查到的，但是如果你的电脑文件超级多，这将是一个工厂量很大的事情，你要等好久的。

便捷的方法时：

打开我们的cmd命令

输入<em>Python</em>

输入 import sys

输入 print(sys.path)

列表中的第五个将是你的安装路径


...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/lcl497049972/article/details/85397171"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/lcl497049972/article/details/85397171"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/lcl497049972/article/details/85397171" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/lcl497049972/article/details/85397171"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control'>
					<em>python</em>三种<em>注释</em>方法
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/lcl497049972" target="_blank"><span class="blog-title">27Up的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-30</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					1万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/lcl497049972/article/details/85397171" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/lcl497049972/article/details/85397171"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>python</em>三种<em>注释</em>方法

<em>方式</em>1：

单行<em>注释</em>：shift + #（在代码的最前面输入，非选中代码进行<em>注释</em>）

多行<em>注释</em>：同单行一样在每一行的前面输入shift + #（较麻烦了）

<em>方式</em>2：

单行和多行一样的<em>方式</em>：Ctr+ / &nbsp;（前提是选中需要<em>注释</em>的代码）

<em>方式</em>3：

输入&#39;&#39;&#39; &#39;&#39;&#39;或者&quot;&quot;&quot; &quot;&quot;&quot;，将要<em>注释</em>的代码插在中间

&#39;&#39;&#39;

这是多行<em>注释</em>，使用单引号。

这是多行<em>注释</em>，使...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/coberup/article/details/88018158"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/coberup/article/details/88018158"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/coberup/article/details/88018158" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/coberup/article/details/88018158"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control'>
					<em>Python</em>中<em>注释</em>快捷键
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/coberup" target="_blank"><span class="blog-title">coberup的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-28</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					3万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/coberup/article/details/88018158" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/coberup/article/details/88018158"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control'>
				<div class="desc ellipsis-online ellipsis-online-1">单行和多行<em>注释</em>均可用：Ctrl+/
其它<em>注释</em>方法：
单行：在文本前加　#　即可
多行：用两个三引号　&rsquo;&rsquo;&#39;　把需要<em>注释</em>的文本包含起来即可

</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/gongluck93/article/details/79274009"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/gongluck93/article/details/79274009"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/gongluck93/article/details/79274009" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/gongluck93/article/details/79274009"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control'>
					<em>python</em>笔记：#004#<em>注释</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/gongluck93" target="_blank"><span class="blog-title">gongluck93的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-06</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					546
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/gongluck93/article/details/79274009" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/gongluck93/article/details/79274009"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>注释</em>



目标


<em>注释</em>的作用
单行<em>注释</em>（行<em>注释</em>）
多行<em>注释</em>（块<em>注释</em>）




01. <em>注释</em>的作用


  使用用自己熟悉的语言，在程序中对某些代码进行标注说明，增强程序的可读性




02. 单行<em>注释</em>(行<em>注释</em>)


以 # 开头，# 右边的所有东西都被当做说明文字，而不是真正要执行的程序，只起到辅助说明作用
示例代码如下：




# 这是第一个单行<em>注释</em>
print(&quot;hello pytho</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/canyangconglin/article/details/78302033"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/canyangconglin/article/details/78302033"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/canyangconglin/article/details/78302033" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/canyangconglin/article/details/78302033"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control'>
					<em>Python</em>多行代码<em>注释</em>快捷键
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/canyangconglin" target="_blank"><span class="blog-title">canyangconglin的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">10-21</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					11万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/canyangconglin/article/details/78302033" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/canyangconglin/article/details/78302033"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control'>
				<div class="desc ellipsis-online ellipsis-online-1">选中要<em>注释</em>的代码，按下ctrl+/<em>注释</em></div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_30501857/article/details/96494993"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"17","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_30501857/article/details/96494993"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_30501857/article/details/96494993" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"17","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_30501857/article/details/96494993"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control'>
					【<em>python</em>基础】如何<em>注释</em>代码块
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_30501857" target="_blank"><span class="blog-title">weixin_30501857的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">10-12</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					189
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_30501857/article/details/96494993" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"17","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_30501857/article/details/96494993"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.control'>
				<div class="desc ellipsis-online ellipsis-online-1">前言
编写<em>python</em>程序有时候需要对代码块进行comment，本文对此介绍。
方法
<em>python</em><em>注释</em>的三种方法：
1.井号<em>注释</em>单行代码： #
2.三个单引号或三个双引号<em>注释</em>语句块： &#39;&#39;&#39; 或者&quot; &quot; &quot;
3.井号加两个百分号画出语句块分界线： #%%
代码

&#39;&#39;&#39;
#data.csv is created by make_data.py
data=pd.read_csv...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://handsome-man.blog.csdn.net/article/details/100603516"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"18","strategy":"OPENSEARCH","dest":"https://handsome-man.blog.csdn.net/article/details/100603516"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://handsome-man.blog.csdn.net/article/details/100603516" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"18","strategy":"OPENSEARCH","dest":"https://handsome-man.blog.csdn.net/article/details/100603516"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control'>
					1行<em>Python</em>代码制作动态二维码
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/m0_38106923" target="_blank"><span class="blog-title">不脱发的程序猿</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">09-07</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					5万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://handsome-man.blog.csdn.net/article/details/100603516" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"18","strategy":"OPENSEARCH","dest":"https://handsome-man.blog.csdn.net/article/details/100603516"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-18.control'>
				<div class="desc ellipsis-online ellipsis-online-1">近日在GitHub上发现了一个比较有意思的项目，只需要一行<em>Python</em>代码就可以快捷方便生成普通二维码、艺术二维码(黑白/彩色)和动态GIF二维码。</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/wcg541/article/details/94899714"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"19","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/wcg541/article/details/94899714" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"19","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control'>
					图解<em>Python</em> 玩转<em>Python</em> 秒懂<em>python</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/wcg541" target="_blank"><span class="blog-title">Python追梦</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-06</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					1万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/wcg541/article/details/94899714" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"19","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-19.control'>
				<div class="desc ellipsis-online ellipsis-online-1">0 <em>Python</em> 解释器：

<em>Python</em>数据结构：

2.变量与运算符

3 <em>Python</em> 流程控制

4 <em>Python</em> 文件处理

5 <em>python</em> 输入输出

6 <em>Python</em> 异常

7 <em>Python</em> 函数和模块

8 <em>Python</em> 面相对象：

9 <em>python</em> 多线程

10 <em>Python</em> 标准库

11 <em>Python</em> 第三方库


...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/yuejisuo1948/article/details/81043823"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"20","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/yuejisuo1948/article/details/81043823"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/yuejisuo1948/article/details/81043823" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"20","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/yuejisuo1948/article/details/81043823"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control'>
					anaconda  <em>python</em>  版本对应关系
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/yuejisuo1948" target="_blank"><span class="blog-title">茶佬牛逼</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-14</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					13万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/yuejisuo1948/article/details/81043823" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control\"}","dist_request_id":"1328592.543.16146996417485959","index":"20","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/yuejisuo1948/article/details/81043823"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control&dist_request_id=1328592.543.16146996417485959&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-20.control'>
				<div class="desc ellipsis-online ellipsis-online-1">本文更新于2019.11.18

更新了今年的版本号
	在表格中用括号备注了包含的<em>python</em>版本号


Release date
			conda
			<em>python</em>2.7
			<em>python</em>3.4
			<em>python</em>3.5
			<em>python</em>3.6
			<em>python</em>3.7
			<em>python</em>3.8
		2015-02-25
			
			
			3.4.3
			
			
			...</div>
			</a>
		</div>
	</div>
</div>
            </div>
            <div class="template-box">
                <span>©️2020 CSDN</span>
                <span>皮肤主题: 酷酷鲨</span>
                <span> 设计师:CSDN官方博客</span>
                <span>
                    <a href="https://blog.csdn.net/" class="back-home c-blue c-blue-hover c-blue-focus">返回首页</a>
                </span>
            </div>
<div class="blog-footer-bottom" style="margin-top:10px;"></div>
<script src="https://g.csdnimg.cn/common/csdn-footer/csdn-footer.js" data-isfootertrack="false" type="text/javascript"></script>
<script type="text/javascript">
    window.csdn.csdnFooter.options = {
        el: '.blog-footer-bottom',
        type: 2
    }
</script>        </main>
<aside class="blog_container_aside">
    <div id="asideProfile" class="aside-box">
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://blog.csdn.net/lmseo5hy" data-report-click='{"mod":"popu_379","spm":"1001.2101.3001.4121","dest":"https://blog.csdn.net/lmseo5hy","ab":"new"}'>
                <img src="https://profile.csdnimg.cn/4/2/D/3_lmseo5hy" class="avatar_pic">
            </a>
        </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div class="profile-intro-name-boxTop">
                <a href="https://blog.csdn.net/lmseo5hy" class="" id="uid" title="lmseo5hy" data-report-click='{"mod":"popu_379","spm":"1001.2101.3001.4122","dest":"https://blog.csdn.net/lmseo5hy","ab":"new"}'>
                    <span class="name " username="lmseo5hy">lmseo5hy</span>
                </a>
                <span>
                </span>
                <span class="flag expert-blog">
                <span class="bubble">CSDN认证博客专家</span>
                </span>
                <span class="flag company-blog">
                <span class="bubble">CSDN认证企业博客</span>
                </span>
            </div>
            <div class="profile-intro-name-boxFooter">
                <span class="personal-home-page personal-home-years">码龄6年</span>
                    <span class="personal-home-page">
                    <a class="personal-home-certification" href="https://i.csdn.net/#/uc/profile?utm_source=14998968" target="_blank" title="暂无认证">
                    <img src="https://csdnimg.cn/identity/nocErtification.png" alt="">
                    暂无认证
                    </a>
                    </span>
            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="661">
            <a href="https://blog.csdn.net/lmseo5hy" data-report-click='{"mod":"1598321000_001","spm":"1001.2101.3001.4310"}' data-report-query="t=1">  
                <dt><span class="count">661</span></dt>
                <dd class="font">原创</dd>
            </a>
        </dl>
        <dl class="text-center" data-report-click='{"mod":"1598321000_002","spm":"1001.2101.3001.4311"}' title="1968">
            <a href="https://blog.csdn.net/rank/writing_rank" target="_blank">
                <dt><span class="count">1968</span></dt>
                <dd class="font">周排名</dd>
            </a>
        </dl>
        <dl class="text-center" title="1260">
            <a href="https://blog.csdn.net/rank/writing_rank_total" data-report-click='{"mod":"1598321000_003","spm":"1001.2101.3001.4312"}' target="_blank">
                <dt><span class="count">1260</span></dt>
                <dd class="font">总排名</dd>
            </a>
        </dl>
        <dl class="text-center" style="min-width:58px" title="1627371">  
            <dt><span class="count">162万+</span></dt>
            <dd>访问</dd>
        </dl>
        <dl class="text-center" title="7级,点击查看等级说明">
            <dt><a href="https://blog.csdn.net/home/help.html#level" target="_blank">
                <img class="level" src="https://csdnimg.cn/identity/blog7.png">
            </a>
            </dt>
            <dd>等级</dd>
        </dl>
    </div>
    <div class="item-rank"></div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="18808">
            <dt><span class="count">1万+</span></dt>
            <dd>积分</dd>
        </dl>
         <dl class="text-center" id="fanBox" title="743">
            <dt><span class="count" id="fan">743</span></dt>
            <dd>粉丝</dd>
        </dl>
        <dl class="text-center" title="533">
            <dt><span class="count">533</span></dt>
            <dd>获赞</dd>
        </dl>
        <dl class="text-center" title="131">
            <dt><span class="count">131</span></dt>
            <dd>评论</dd>
        </dl>
        <dl class="text-center" title="1536">
            <dt><span class="count">1536</span></dt>
            <dd>收藏</dd>
        </dl>
    </div>
    <div class="aside-box-footer" data-report-view='{"spm":"3001.4296"}'>
        <div class="badge-box d-flex">
            <div class="badge d-flex">
                <div class="icon-badge" title="持之以恒">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/chizhiyiheng@240.png" alt="持之以恒">
                    </div>
                </div>
                <div class="icon-badge" title="1024勋章">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/1024@240.png" alt="1024勋章">
                    </div>
                </div>
                <div class="icon-badge" title="勤写标兵Lv1">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/qixiebiaobing1@240.png" alt="勤写标兵Lv1">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="profile-intro-name-boxOpration">
        <div class="opt-letter-watch-box">
        <a class="bt-button personal-letter" href="https://im.csdn.net/chat/lmseo5hy" target="_blank" rel="noopener">私信</a>
        </div>
        <div class="opt-letter-watch-box"> 
            <a class="personal-watch bt-button" id="btnAttent" >关注</a>  
        </div>
    </div>
</div>
<div id="asideSearchArticle" class="aside-box">
	<div class="aside-content search-comter">
    <div class="aside-search aside-search-blog">         
        <input type="text" class="input-serch-blog" name="" autocomplete="off" value="" id="search-blog-words" placeholder="搜博主文章">
        <a class="btn-search-blog">
                    <img src="//csdnimg.cn/cdn/content-toolbar/csdn-sou.png?v=1587021042">
        </a>
    </div>
    </div>
</div>


<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
			<li>
				<a href="https://blog.csdn.net/lmseo5hy/article/details/81704426" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426","ab":"new"}'>
				Python定义全局变量的用法
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">178259</span>
                </a>
			</li>
			<li>
				<a href="https://blog.csdn.net/lmseo5hy/article/details/80695188" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://blog.csdn.net/lmseo5hy/article/details/80695188","ab":"new"}'>
				10个好用的Python集成开发环境
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">38616</span>
                </a>
			</li>
			<li>
				<a href="https://blog.csdn.net/lmseo5hy/article/details/85699164" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://blog.csdn.net/lmseo5hy/article/details/85699164","ab":"new"}'>
				Python注释方式有哪些
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">37899</span>
                </a>
			</li>
			<li>
				<a href="https://blog.csdn.net/lmseo5hy/article/details/79279424" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://blog.csdn.net/lmseo5hy/article/details/79279424","ab":"new"}'>
				Linux与windows相比有何优势，看完就明白了
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">36308</span>
                </a>
			</li>
			<li>
				<a href="https://blog.csdn.net/lmseo5hy/article/details/79654098" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://blog.csdn.net/lmseo5hy/article/details/79654098","ab":"new"}'>
				Go语言适合做什么？
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">32392</span>
                </a>
			</li>
		</ul>
	</div>
</div>
<div id="asideCategory" class="aside-box flexible-box">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_10829170.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_10829170.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">网络安全</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7393852.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7393852.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">大数据培训</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                    <span class="count float-right">124篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7340901.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7340901.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">python培训</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                    <span class="count float-right">344篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7347444.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7347444.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">linux培训</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                    <span class="count float-right">118篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7379028.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7379028.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">mysql培训</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                    <span class="count float-right">21篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_9275095.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_9275095.html","ab":"new"}'>
                    <img src="//img-blog.csdn.net/20180521181317571?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">老男孩课程资料</span>
                    </span>
                    <span class="count float-right">2篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7529263.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7529263.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">go语言培训</span>
                    </span>
                    <span class="count float-right">9篇</span>
                </a>
            </li>
        </ul>
    </div>
    <p class="text-center">
        <a class="flexible-btn" data-fbox="aside-archive"><img class="look-more" src="https://csdnimg.cn/release/blogv2/dist/pc/img/arrowDownWhite.png" alt=""></a>
    </p>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
            <li>
                <a class="title text-truncate" target="_blank" href="https://blog.csdn.net/lmseo5hy/article/details/80667062#comments_15178851" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/80667062#comments_15178851","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/80667062#comments_15178851","ab":"new"}'>10个web开发好用框架</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/weixin_46430750" class="user-name" target="_blank">weixin_46430750: </a>
                    <span class="code-comments">django不好用？？</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://blog.csdn.net/lmseo5hy/article/details/113977853#comments_15163879" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/113977853#comments_15163879","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/113977853#comments_15163879","ab":"new"}'>GNU和GPL是什么？</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/tzlaa" class="user-name" target="_blank">Robust科技: </a>
                    <span class="code-comments">最近也在学这个，博文真的写的挺好，感觉很有用~</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://blog.csdn.net/lmseo5hy/article/details/81480107#comments_14978319" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/81480107#comments_14978319","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/81480107#comments_14978319","ab":"new"}'>程序员该如何规划自己的职业</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/weixin_43876778" class="user-name" target="_blank">这知识不进我脑袋呀: </a>
                    <span class="code-comments">写了这么多字,手动码字一定很累吧!欢迎回访我的博客</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://blog.csdn.net/lmseo5hy/article/details/81740339#comments_14873737" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/81740339#comments_14873737","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/81740339#comments_14873737","ab":"new"}'>Python爬虫的用途</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/m0_50944918" class="user-name" target="_blank">乎你: </a>
                    <span class="code-comments">服装赞助商---林品如，大佬也太秀了吧~~~</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://blog.csdn.net/lmseo5hy/article/details/83786051#comments_14664106" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/83786051#comments_14664106","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://blog.csdn.net/lmseo5hy/article/details/83786051#comments_14664106","ab":"new"}'>Java如何在一个线程中阻塞其他线程？</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/wi8ruk48" class="user-name" target="_blank">zhengqiang1: </a>
                    <span class="code-comments">interesting</span>
                </p>
            </li>
        </ul>
    </div>
</div>
<div id="asideArchive" class="aside-box" style="display:block!important; width:300px;">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
            <li class="clearfix">
            <a href="https://blog.csdn.net/lmseo5hy/article/details/114121341" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://blog.csdn.net/lmseo5hy/article/details/114121341","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://blog.csdn.net/lmseo5hy/article/details/114121341","ab":"new"}'>Ubuntu企业级初始配置实战</a>
            </li>
            <li class="clearfix">
            <a href="https://blog.csdn.net/lmseo5hy/article/details/114079714" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://blog.csdn.net/lmseo5hy/article/details/114079714","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://blog.csdn.net/lmseo5hy/article/details/114079714","ab":"new"}'>那些年学习Linux，你被坑过的故障集合？</a>
            </li>
            <li class="clearfix">
            <a href="https://blog.csdn.net/lmseo5hy/article/details/114015969" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://blog.csdn.net/lmseo5hy/article/details/114015969","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://blog.csdn.net/lmseo5hy/article/details/114015969","ab":"new"}'>python常用设计模式解析</a>
            </li>
        </ul>
        <div class="archive-bar"></div>
        <div class="archive-box">
                <div class="archive-list-item"><a href="https://blog.csdn.net/lmseo5hy/article/month/2021/02" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2021年</span><span class="num">9篇</span></a></div>
                <div class="archive-list-item"><a href="https://blog.csdn.net/lmseo5hy/article/month/2020/11" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2020年</span><span class="num">2篇</span></a></div>
                <div class="archive-list-item"><a href="https://blog.csdn.net/lmseo5hy/article/month/2019/02" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2019年</span><span class="num">47篇</span></a></div>
                <div class="archive-list-item"><a href="https://blog.csdn.net/lmseo5hy/article/month/2018/12" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2018年</span><span class="num">609篇</span></a></div>
                <div class="archive-list-item"><a href="https://blog.csdn.net/lmseo5hy/article/month/2017/12" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2017年</span><span class="num">1篇</span></a></div>
        </div>
    </div>
</div>
	<div id="footerRightAds" class="isShowFooterAds">
		<div class="aside-box">
			<div id="kp_box_57" data-pid="57"><div id="protag-banner-2"></div>
<script type="text/javascript">
  window.googletag = window.googletag || { cmd: [] };
  window.protag = window.protag || { cmd: [] };
  window.protag.cmd.push(function () {
   window.protag.display("protag-banner-2");
  });
</script>
<script type="text/javascript" async="async" src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>  
<script async="async" type="text/javascript" src="https://protagcdn.com/s/csdn.net/bbs/protag-banners.js"></script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&a=2234&c=0&k=&spm=1001.2101.3001.5001&d=1&t=3&u=0a1685964f8748c386654d31c9727a4f" style="display: block;width: 0px;height: 0px;"></div>
		</div>
	</div>
    <!-- 详情页显示目录 -->
<!--文章目录-->
<div id="asidedirectory" class="aside-box">
    <div class='groupfile' id="directory">
        <h3 class="aside-title">目录</h3>
        <div class="align-items-stretch group_item">
            <div class="pos-box">
            <div class="scroll-box">
                <div class="toc-box"></div>
            </div>
            </div>
        </div>
    </div>
</div>
</aside>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script type="text/javascript"  src="https://g.csdnimg.cn/user-tooltip/2.4/user-tooltip.js"></script>
<script type="text/javascript"  src="https://g.csdnimg.cn/user-medal/1.0.6/user-medal.js"></script>    </div>
<div class="recommend-right  align-items-stretch clearfix" id="rightAside" data-type="recommend">
    <aside class="recommend-right_aside">
        <div id="recommend-right" >
                        <div class='flex-column aside-box groupfile' id="groupfile">
                <div class="groupfile-div">
                <h3 class="aside-title">目录</h3>
                <div class="align-items-stretch group_item">
                    <div class="pos-box">
                        <div class="scroll-box">
                            <div class="toc-box"></div>
                        </div>
                    </div>
                </div>
                </div>
            </div>
                <div id="recommendAdBox">
                    <div id="kp_box_479" data-pid="479"><div id="protag-banner-3"></div>
<script type="text/javascript">
  window.googletag = window.googletag || { cmd: [] };
  window.protag = window.protag || { cmd: [] };
  window.protag.cmd.push(function () {
   window.protag.display("protag-banner-3");
  });
</script>
<script type="text/javascript" async="async" src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>  
<script async="async" type="text/javascript" src="https://protagcdn.com/s/csdn.net/bbs/protag-banners.js"></script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&a=3476&c=0&k=&spm=1001.2101.3001.4834&d=1&t=3&u=e28c2538c2cd41adbc3739c38328b34e" style="display: block;width: 0px;height: 0px;"></div>
                </div>
            <div class='aside-box kind_person d-flex flex-column'>
                    <h3 class="aside-title">分类专栏</h3>
                    <div class="align-items-stretch kindof_item" id="kind_person_column">
                        <div class="aside-content">
                            <ul>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_10829170.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_10829170.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">网络安全</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7393852.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7393852.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">大数据培训</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                        <span class="count float-right">124篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7340901.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7340901.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">python培训</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                        <span class="count float-right">344篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7347444.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7347444.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">linux培训</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                        <span class="count float-right">118篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7379028.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7379028.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">mysql培训</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                        <span class="count float-right">21篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_9275095.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_9275095.html","ab":"new"}'>
                                        <img src="//img-blog.csdn.net/20180521181317571?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">老男孩课程资料</span>
                                        </span>
                                        <span class="count float-right">2篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/lmseo5hy/category_7529263.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/lmseo5hy/category_7529263.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">go语言培训</span>
                                        </span>
                                        <span class="count float-right">9篇</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
            </div>
        </div>
    </aside>
</div>

</div>
<div class="mask-dark"></div>
<script type="text/javascript">
    var timert = setInterval(function(){
      sideToolbar = $(".csdn-side-toolbar");
      if (sideToolbar.length > 0) {
        sideToolbar.css('cssText','bottom:64px !important;')
        clearInterval(timert);
      }
    }, 200);
</script>
<script>
    var articleId = 85699164;
    var commentscount = 0;
    var curentUrl = "https://blog.csdn.net/lmseo5hy/article/details/85699164";
    var myUrl = "https://my.csdn.net/";
    var highlight = ["Python","注释","方式"];//高亮数组
    var isRecommendModule = true;
    var isBaiduPre = false;
    var baiduCount = 2;
    var share_card_url = "https://blog.csdn.net/lmseo5hy/article/shareArticleCardPage?article_id=85699164"
	var articleType = 1;
    var baiduKey = "python的注释方式有几种";
    var needInsertBaidu = true;
    var recommendRegularDomainArr = ["blog.csdn.net/.+/article/details/","download.csdn.net/download/","edu.csdn.net/course/detail/","ask.csdn.net/questions/","bbs.csdn.net/topics/","www.csdn.net/gather_.+/"]
    var codeStyle = "atom-one-light";
    var baiduSearchType = "utm_term";
    var canRead = false;
    var blogMoveHomeArticle = false;
    var showPcWindowAd = false;
    var showSearchText = "control";
    var linkPage = true;
    var articleSource = 1;
    var articleReport = '{"pid": "blog", "spm":"1001.2101"}';
</script>
<script src="https://csdnimg.cn/public/sandalstrap/1.4/js/sandalstrap.min.js"></script>
<div class="skin-boxshadow"></div>
<div class="pay-code">
        <div class="pay-money">实付<span class="pay-money-span" data-nowprice='19.90' data-oldprice='19.90'>
            19.90元</span></div>
        <div class="content-blance"><a class="blance-bt" href="javascript:;">使用余额支付</a></div>
        <div class="content-code">
        <div id="payCode" data-id="7340901">
                <div class="renovate">
                    <img src="https://csdnimg.cn/release/blogv2/dist/pc/img/pay-time-out.png">
                    <span>点击重新获取</span>
                </div>
            </div>
            <div class="pay-style"><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/weixin.png"></span><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/zhifubao.png"></span><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/jingdong.png"></span><span class="text">扫码支付</span></div>
        </div>
        <div class="bt-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></div>
        <!-- <p style="margin-top: 8px;font-size: 14px;" class="text-center">支付成功即可阅读</p> -->
        <div class="pay-balance">
        <input type="radio" class="pay-code-radio" data-type="details"> 
        <span class="span">钱包余额</span>
        <span class="balance" style="color:#FC5531;font-size:14px;">0</span>  
        <div class="pay-code-tile">
            <img src="https://csdnimg.cn/release/blogv2/dist/pc/img/pay-help.png" alt="">
            <div class="pay-code-content">
                <div class="span">
                    <p class="title">抵扣说明：</p>
                    <p> 1.余额是钱包充值的虚拟货币，按照1:1的比例进行支付金额的抵扣。<br> 2.余额无法直接购买下载，可以购买VIP、C币套餐、付费专栏及课程。</p>
                </div>
            </div>
        </div>
        </div>
        <a class="pay-balance-con" href="https://i.csdn.net/#/wallet/balance/recharge" target="_blank"><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/recharge.png" alt=""><span  >余额充值</span></a>
    </div>
<div style="display:none;">
	<img src="" onerror='setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);'>
</div>
</body>
    <!-- 富文本柱状图  -->
	<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/chart.css"/>
	<script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/lib/chart.min.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/widget2chart.js"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/components/js/pc_wap_highlight-db1e81323a.min.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/components/js/pc_wap_common-906586e915.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-light.css">
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            },
            guide: {
                isShow: true
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                showReport(false,articleTitles);
            })
        });
    })
</script>
    <script src="https://g.csdnimg.cn/baidu-search/1.0.9/baidu-search.js"  type="text/javascript"></script>
<script src="https://csdnimg.cn/release/download/old_static/js/qrcode.js"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/common-b286f966c8.min.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/detail-6a69ca4c78.min.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/user-ordercart/1.0.6/user-ordercart.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/column-78261cfea6.min.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/side-toolbar/3.0/side-toolbar.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/copyright/1.0.3/copyright.js" type="text/javascript"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="https://csdnimg.cn/release/blog_mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/user-login/2.3.2/user-login.js"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/login-box/1.1.4/login-box.js"></script></html>
